Quaternion

Undocumented in source.

Members

Functions

mag
float mag()
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
void normalize()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Quaternion opBinary(Quaternion rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
Quaternion opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
toMatrix3
Matrix3 toMatrix3()
Undocumented in source. Be warned that the author may not have intended to support it.
toMatrix4
Matrix4 toMatrix4()
Undocumented in source. Be warned that the author may not have intended to support it.
unit
Quaternion unit()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

rotation
rotation(float angle, Vector3 axis)

https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation

Unions

__anonymous
union __anonymous
Undocumented in source.

Meta